package com.chinasoft.class6.group3;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class YanHongYu implements TrueWord {
    List<String> wordlist = new ArrayList<String>();
    Random rd = new Random();
    public YanHongYu() {
        wordlist.add("哈基米");
        wordlist.add("叮咚鸡");
        wordlist.add("曼波");
    }

    @Override
    public String getWord() {
        int index = rd.nextInt(wordlist.size());
        return this.wordlist.get(index);
    }

    @Override
    public String getName() {
        return "大狗嚼";
    }
}
